import QtQuick 2.0
import QtQuick.Window 2.0

Window {
    visible: true
    height: 320; width: 630
    Item {
        id: gradientGroup
        Rectangle{
            id: leftRect
            width: height; height: 300
            anchors.top: parent.top
            anchors.left: parent.left
            anchors.margins: 10
            //color: "lightblue"
            gradient: Gradient{
                GradientStop{ position: 0.0; color: "lightblue"}
                GradientStop{ position: 1.0; color: "grey"}
            }
        }
        Rectangle{
            id: rightRect
            width: height; height: 300
            anchors.left: leftRect.right
            anchors.top: parent.top
            anchors.margins: 10
            gradient: Gradient{
                GradientStop{ position: 1.0; color: "lightblue"}
                GradientStop{ position: 0.0; color: "grey"}
            }
        }
    }
}

